package com.crm.model.entity.csd.customerManager;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CustomerMemberCardDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CustomerMemberCardDetailExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andDetailIdIsNull() {
            addCriterion("detail_id is null");
            return (Criteria) this;
        }

        public Criteria andDetailIdIsNotNull() {
            addCriterion("detail_id is not null");
            return (Criteria) this;
        }

        public Criteria andDetailIdEqualTo(String value) {
            addCriterion("detail_id =", value, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdNotEqualTo(String value) {
            addCriterion("detail_id <>", value, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdGreaterThan(String value) {
            addCriterion("detail_id >", value, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdGreaterThanOrEqualTo(String value) {
            addCriterion("detail_id >=", value, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdLessThan(String value) {
            addCriterion("detail_id <", value, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdLessThanOrEqualTo(String value) {
            addCriterion("detail_id <=", value, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdLike(String value) {
            addCriterion("detail_id like", value, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdNotLike(String value) {
            addCriterion("detail_id not like", value, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdIn(List<String> values) {
            addCriterion("detail_id in", values, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdNotIn(List<String> values) {
            addCriterion("detail_id not in", values, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdBetween(String value1, String value2) {
            addCriterion("detail_id between", value1, value2, "detailId");
            return (Criteria) this;
        }

        public Criteria andDetailIdNotBetween(String value1, String value2) {
            addCriterion("detail_id not between", value1, value2, "detailId");
            return (Criteria) this;
        }

        public Criteria andXcchIsNull() {
            addCriterion("xcch is null");
            return (Criteria) this;
        }

        public Criteria andXcchIsNotNull() {
            addCriterion("xcch is not null");
            return (Criteria) this;
        }

        public Criteria andXcchEqualTo(String value) {
            addCriterion("xcch =", value, "xcch");
            return (Criteria) this;
        }

        public Criteria andXcchNotEqualTo(String value) {
            addCriterion("xcch <>", value, "xcch");
            return (Criteria) this;
        }

        public Criteria andXcchGreaterThan(String value) {
            addCriterion("xcch >", value, "xcch");
            return (Criteria) this;
        }

        public Criteria andXcchGreaterThanOrEqualTo(String value) {
            addCriterion("xcch >=", value, "xcch");
            return (Criteria) this;
        }

        public Criteria andXcchLessThan(String value) {
            addCriterion("xcch <", value, "xcch");
            return (Criteria) this;
        }

        public Criteria andXcchLessThanOrEqualTo(String value) {
            addCriterion("xcch <=", value, "xcch");
            return (Criteria) this;
        }

        public Criteria andXcchLike(String value) {
            addCriterion("xcch like", value, "xcch");
            return (Criteria) this;
        }

        public Criteria andXcchNotLike(String value) {
            addCriterion("xcch not like", value, "xcch");
            return (Criteria) this;
        }

        public Criteria andXcchIn(List<String> values) {
            addCriterion("xcch in", values, "xcch");
            return (Criteria) this;
        }

        public Criteria andXcchNotIn(List<String> values) {
            addCriterion("xcch not in", values, "xcch");
            return (Criteria) this;
        }

        public Criteria andXcchBetween(String value1, String value2) {
            addCriterion("xcch between", value1, value2, "xcch");
            return (Criteria) this;
        }

        public Criteria andXcchNotBetween(String value1, String value2) {
            addCriterion("xcch not between", value1, value2, "xcch");
            return (Criteria) this;
        }

        public Criteria andHyhsycsIsNull() {
            addCriterion("hyhsycs is null");
            return (Criteria) this;
        }

        public Criteria andHyhsycsIsNotNull() {
            addCriterion("hyhsycs is not null");
            return (Criteria) this;
        }

        public Criteria andHyhsycsEqualTo(String value) {
            addCriterion("hyhsycs =", value, "hyhsycs");
            return (Criteria) this;
        }

        public Criteria andHyhsycsNotEqualTo(String value) {
            addCriterion("hyhsycs <>", value, "hyhsycs");
            return (Criteria) this;
        }

        public Criteria andHyhsycsGreaterThan(String value) {
            addCriterion("hyhsycs >", value, "hyhsycs");
            return (Criteria) this;
        }

        public Criteria andHyhsycsGreaterThanOrEqualTo(String value) {
            addCriterion("hyhsycs >=", value, "hyhsycs");
            return (Criteria) this;
        }

        public Criteria andHyhsycsLessThan(String value) {
            addCriterion("hyhsycs <", value, "hyhsycs");
            return (Criteria) this;
        }

        public Criteria andHyhsycsLessThanOrEqualTo(String value) {
            addCriterion("hyhsycs <=", value, "hyhsycs");
            return (Criteria) this;
        }

        public Criteria andHyhsycsLike(String value) {
            addCriterion("hyhsycs like", value, "hyhsycs");
            return (Criteria) this;
        }

        public Criteria andHyhsycsNotLike(String value) {
            addCriterion("hyhsycs not like", value, "hyhsycs");
            return (Criteria) this;
        }

        public Criteria andHyhsycsIn(List<String> values) {
            addCriterion("hyhsycs in", values, "hyhsycs");
            return (Criteria) this;
        }

        public Criteria andHyhsycsNotIn(List<String> values) {
            addCriterion("hyhsycs not in", values, "hyhsycs");
            return (Criteria) this;
        }

        public Criteria andHyhsycsBetween(String value1, String value2) {
            addCriterion("hyhsycs between", value1, value2, "hyhsycs");
            return (Criteria) this;
        }

        public Criteria andHyhsycsNotBetween(String value1, String value2) {
            addCriterion("hyhsycs not between", value1, value2, "hyhsycs");
            return (Criteria) this;
        }

        public Criteria andMinutesIsNull() {
            addCriterion("minutes is null");
            return (Criteria) this;
        }

        public Criteria andMinutesIsNotNull() {
            addCriterion("minutes is not null");
            return (Criteria) this;
        }

        public Criteria andMinutesEqualTo(String value) {
            addCriterion("minutes =", value, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesNotEqualTo(String value) {
            addCriterion("minutes <>", value, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesGreaterThan(String value) {
            addCriterion("minutes >", value, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesGreaterThanOrEqualTo(String value) {
            addCriterion("minutes >=", value, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesLessThan(String value) {
            addCriterion("minutes <", value, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesLessThanOrEqualTo(String value) {
            addCriterion("minutes <=", value, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesLike(String value) {
            addCriterion("minutes like", value, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesNotLike(String value) {
            addCriterion("minutes not like", value, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesIn(List<String> values) {
            addCriterion("minutes in", values, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesNotIn(List<String> values) {
            addCriterion("minutes not in", values, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesBetween(String value1, String value2) {
            addCriterion("minutes between", value1, value2, "minutes");
            return (Criteria) this;
        }

        public Criteria andMinutesNotBetween(String value1, String value2) {
            addCriterion("minutes not between", value1, value2, "minutes");
            return (Criteria) this;
        }

        public Criteria andLivePointsIsNull() {
            addCriterion("live_points is null");
            return (Criteria) this;
        }

        public Criteria andLivePointsIsNotNull() {
            addCriterion("live_points is not null");
            return (Criteria) this;
        }

        public Criteria andLivePointsEqualTo(String value) {
            addCriterion("live_points =", value, "livePoints");
            return (Criteria) this;
        }

        public Criteria andLivePointsNotEqualTo(String value) {
            addCriterion("live_points <>", value, "livePoints");
            return (Criteria) this;
        }

        public Criteria andLivePointsGreaterThan(String value) {
            addCriterion("live_points >", value, "livePoints");
            return (Criteria) this;
        }

        public Criteria andLivePointsGreaterThanOrEqualTo(String value) {
            addCriterion("live_points >=", value, "livePoints");
            return (Criteria) this;
        }

        public Criteria andLivePointsLessThan(String value) {
            addCriterion("live_points <", value, "livePoints");
            return (Criteria) this;
        }

        public Criteria andLivePointsLessThanOrEqualTo(String value) {
            addCriterion("live_points <=", value, "livePoints");
            return (Criteria) this;
        }

        public Criteria andLivePointsLike(String value) {
            addCriterion("live_points like", value, "livePoints");
            return (Criteria) this;
        }

        public Criteria andLivePointsNotLike(String value) {
            addCriterion("live_points not like", value, "livePoints");
            return (Criteria) this;
        }

        public Criteria andLivePointsIn(List<String> values) {
            addCriterion("live_points in", values, "livePoints");
            return (Criteria) this;
        }

        public Criteria andLivePointsNotIn(List<String> values) {
            addCriterion("live_points not in", values, "livePoints");
            return (Criteria) this;
        }

        public Criteria andLivePointsBetween(String value1, String value2) {
            addCriterion("live_points between", value1, value2, "livePoints");
            return (Criteria) this;
        }

        public Criteria andLivePointsNotBetween(String value1, String value2) {
            addCriterion("live_points not between", value1, value2, "livePoints");
            return (Criteria) this;
        }

        public Criteria andMobileIsNull() {
            addCriterion("mobile is null");
            return (Criteria) this;
        }

        public Criteria andMobileIsNotNull() {
            addCriterion("mobile is not null");
            return (Criteria) this;
        }

        public Criteria andMobileEqualTo(String value) {
            addCriterion("mobile =", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotEqualTo(String value) {
            addCriterion("mobile <>", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThan(String value) {
            addCriterion("mobile >", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThanOrEqualTo(String value) {
            addCriterion("mobile >=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThan(String value) {
            addCriterion("mobile <", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThanOrEqualTo(String value) {
            addCriterion("mobile <=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLike(String value) {
            addCriterion("mobile like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotLike(String value) {
            addCriterion("mobile not like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileIn(List<String> values) {
            addCriterion("mobile in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotIn(List<String> values) {
            addCriterion("mobile not in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileBetween(String value1, String value2) {
            addCriterion("mobile between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotBetween(String value1, String value2) {
            addCriterion("mobile not between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andUserquantityIsNull() {
            addCriterion("userQuantity is null");
            return (Criteria) this;
        }

        public Criteria andUserquantityIsNotNull() {
            addCriterion("userQuantity is not null");
            return (Criteria) this;
        }

        public Criteria andUserquantityEqualTo(String value) {
            addCriterion("userQuantity =", value, "userquantity");
            return (Criteria) this;
        }

        public Criteria andUserquantityNotEqualTo(String value) {
            addCriterion("userQuantity <>", value, "userquantity");
            return (Criteria) this;
        }

        public Criteria andUserquantityGreaterThan(String value) {
            addCriterion("userQuantity >", value, "userquantity");
            return (Criteria) this;
        }

        public Criteria andUserquantityGreaterThanOrEqualTo(String value) {
            addCriterion("userQuantity >=", value, "userquantity");
            return (Criteria) this;
        }

        public Criteria andUserquantityLessThan(String value) {
            addCriterion("userQuantity <", value, "userquantity");
            return (Criteria) this;
        }

        public Criteria andUserquantityLessThanOrEqualTo(String value) {
            addCriterion("userQuantity <=", value, "userquantity");
            return (Criteria) this;
        }

        public Criteria andUserquantityLike(String value) {
            addCriterion("userQuantity like", value, "userquantity");
            return (Criteria) this;
        }

        public Criteria andUserquantityNotLike(String value) {
            addCriterion("userQuantity not like", value, "userquantity");
            return (Criteria) this;
        }

        public Criteria andUserquantityIn(List<String> values) {
            addCriterion("userQuantity in", values, "userquantity");
            return (Criteria) this;
        }

        public Criteria andUserquantityNotIn(List<String> values) {
            addCriterion("userQuantity not in", values, "userquantity");
            return (Criteria) this;
        }

        public Criteria andUserquantityBetween(String value1, String value2) {
            addCriterion("userQuantity between", value1, value2, "userquantity");
            return (Criteria) this;
        }

        public Criteria andUserquantityNotBetween(String value1, String value2) {
            addCriterion("userQuantity not between", value1, value2, "userquantity");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNull() {
            addCriterion("create_people_id is null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNotNull() {
            addCriterion("create_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdEqualTo(String value) {
            addCriterion("create_people_id =", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotEqualTo(String value) {
            addCriterion("create_people_id <>", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThan(String value) {
            addCriterion("create_people_id >", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("create_people_id >=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThan(String value) {
            addCriterion("create_people_id <", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("create_people_id <=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLike(String value) {
            addCriterion("create_people_id like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotLike(String value) {
            addCriterion("create_people_id not like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIn(List<String> values) {
            addCriterion("create_people_id in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotIn(List<String> values) {
            addCriterion("create_people_id not in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdBetween(String value1, String value2) {
            addCriterion("create_people_id between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("create_people_id not between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNull() {
            addCriterion("create_tm is null");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNotNull() {
            addCriterion("create_tm is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTmEqualTo(Date value) {
            addCriterion("create_tm =", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotEqualTo(Date value) {
            addCriterion("create_tm <>", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThan(Date value) {
            addCriterion("create_tm >", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("create_tm >=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThan(Date value) {
            addCriterion("create_tm <", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThanOrEqualTo(Date value) {
            addCriterion("create_tm <=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmIn(List<Date> values) {
            addCriterion("create_tm in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotIn(List<Date> values) {
            addCriterion("create_tm not in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmBetween(Date value1, Date value2) {
            addCriterion("create_tm between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotBetween(Date value1, Date value2) {
            addCriterion("create_tm not between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNull() {
            addCriterion("update_people_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNotNull() {
            addCriterion("update_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdEqualTo(String value) {
            addCriterion("update_people_id =", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotEqualTo(String value) {
            addCriterion("update_people_id <>", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThan(String value) {
            addCriterion("update_people_id >", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("update_people_id >=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThan(String value) {
            addCriterion("update_people_id <", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("update_people_id <=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLike(String value) {
            addCriterion("update_people_id like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotLike(String value) {
            addCriterion("update_people_id not like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIn(List<String> values) {
            addCriterion("update_people_id in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotIn(List<String> values) {
            addCriterion("update_people_id not in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdBetween(String value1, String value2) {
            addCriterion("update_people_id between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("update_people_id not between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNull() {
            addCriterion("update_tm is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNotNull() {
            addCriterion("update_tm is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmEqualTo(Date value) {
            addCriterion("update_tm =", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotEqualTo(Date value) {
            addCriterion("update_tm <>", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThan(Date value) {
            addCriterion("update_tm >", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("update_tm >=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThan(Date value) {
            addCriterion("update_tm <", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThanOrEqualTo(Date value) {
            addCriterion("update_tm <=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIn(List<Date> values) {
            addCriterion("update_tm in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotIn(List<Date> values) {
            addCriterion("update_tm not in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmBetween(Date value1, Date value2) {
            addCriterion("update_tm between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotBetween(Date value1, Date value2) {
            addCriterion("update_tm not between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNull() {
            addCriterion("delete_status is null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNotNull() {
            addCriterion("delete_status is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusEqualTo(Short value) {
            addCriterion("delete_status =", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotEqualTo(Short value) {
            addCriterion("delete_status <>", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThan(Short value) {
            addCriterion("delete_status >", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThanOrEqualTo(Short value) {
            addCriterion("delete_status >=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThan(Short value) {
            addCriterion("delete_status <", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThanOrEqualTo(Short value) {
            addCriterion("delete_status <=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIn(List<Short> values) {
            addCriterion("delete_status in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotIn(List<Short> values) {
            addCriterion("delete_status not in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusBetween(Short value1, Short value2) {
            addCriterion("delete_status between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotBetween(Short value1, Short value2) {
            addCriterion("delete_status not between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andMemberCardNumberIsNull() {
            addCriterion("member_card_number is null");
            return (Criteria) this;
        }

        public Criteria andMemberCardNumberIsNotNull() {
            addCriterion("member_card_number is not null");
            return (Criteria) this;
        }

        public Criteria andMemberCardNumberEqualTo(String value) {
            addCriterion("member_card_number =", value, "memberCardNumber");
            return (Criteria) this;
        }

        public Criteria andMemberCardNumberNotEqualTo(String value) {
            addCriterion("member_card_number <>", value, "memberCardNumber");
            return (Criteria) this;
        }

        public Criteria andMemberCardNumberGreaterThan(String value) {
            addCriterion("member_card_number >", value, "memberCardNumber");
            return (Criteria) this;
        }

        public Criteria andMemberCardNumberGreaterThanOrEqualTo(String value) {
            addCriterion("member_card_number >=", value, "memberCardNumber");
            return (Criteria) this;
        }

        public Criteria andMemberCardNumberLessThan(String value) {
            addCriterion("member_card_number <", value, "memberCardNumber");
            return (Criteria) this;
        }

        public Criteria andMemberCardNumberLessThanOrEqualTo(String value) {
            addCriterion("member_card_number <=", value, "memberCardNumber");
            return (Criteria) this;
        }

        public Criteria andMemberCardNumberLike(String value) {
            addCriterion("member_card_number like", value, "memberCardNumber");
            return (Criteria) this;
        }

        public Criteria andMemberCardNumberNotLike(String value) {
            addCriterion("member_card_number not like", value, "memberCardNumber");
            return (Criteria) this;
        }

        public Criteria andMemberCardNumberIn(List<String> values) {
            addCriterion("member_card_number in", values, "memberCardNumber");
            return (Criteria) this;
        }

        public Criteria andMemberCardNumberNotIn(List<String> values) {
            addCriterion("member_card_number not in", values, "memberCardNumber");
            return (Criteria) this;
        }

        public Criteria andMemberCardNumberBetween(String value1, String value2) {
            addCriterion("member_card_number between", value1, value2, "memberCardNumber");
            return (Criteria) this;
        }

        public Criteria andMemberCardNumberNotBetween(String value1, String value2) {
            addCriterion("member_card_number not between", value1, value2, "memberCardNumber");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailMemberCardIdIsNull() {
            addCriterion("customer_product_detail_member_card_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailMemberCardIdIsNotNull() {
            addCriterion("customer_product_detail_member_card_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailMemberCardIdEqualTo(String value) {
            addCriterion("customer_product_detail_member_card_id =", value, "customerProductDetailMemberCardId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailMemberCardIdNotEqualTo(String value) {
            addCriterion("customer_product_detail_member_card_id <>", value, "customerProductDetailMemberCardId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailMemberCardIdGreaterThan(String value) {
            addCriterion("customer_product_detail_member_card_id >", value, "customerProductDetailMemberCardId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailMemberCardIdGreaterThanOrEqualTo(String value) {
            addCriterion("customer_product_detail_member_card_id >=", value, "customerProductDetailMemberCardId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailMemberCardIdLessThan(String value) {
            addCriterion("customer_product_detail_member_card_id <", value, "customerProductDetailMemberCardId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailMemberCardIdLessThanOrEqualTo(String value) {
            addCriterion("customer_product_detail_member_card_id <=", value, "customerProductDetailMemberCardId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailMemberCardIdLike(String value) {
            addCriterion("customer_product_detail_member_card_id like", value, "customerProductDetailMemberCardId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailMemberCardIdNotLike(String value) {
            addCriterion("customer_product_detail_member_card_id not like", value, "customerProductDetailMemberCardId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailMemberCardIdIn(List<String> values) {
            addCriterion("customer_product_detail_member_card_id in", values, "customerProductDetailMemberCardId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailMemberCardIdNotIn(List<String> values) {
            addCriterion("customer_product_detail_member_card_id not in", values, "customerProductDetailMemberCardId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailMemberCardIdBetween(String value1, String value2) {
            addCriterion("customer_product_detail_member_card_id between", value1, value2, "customerProductDetailMemberCardId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailMemberCardIdNotBetween(String value1, String value2) {
            addCriterion("customer_product_detail_member_card_id not between", value1, value2, "customerProductDetailMemberCardId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}